<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::outofcore::OutofcoreOctreeRamContainer&lt; PointT &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="#pro-static-attribs">静态 Protected 属性</a> &#124;
<a href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::outofcore::OutofcoreOctreeRamContainer&lt; PointT &gt; 模板类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>Storage container class which the outofcore octree base is templated against  
 <a href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="octree__ram__container_8h_source.html">octree_ram_container.h</a>&gt;</code></p>
<div class="dynheader">
类 pcl::outofcore::OutofcoreOctreeRamContainer&lt; PointT &gt; 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.png" usemap="#pcl::outofcore::OutofcoreOctreeRamContainer_3C_20PointT_20_3E_map" alt=""/>
  <map id="pcl::outofcore::OutofcoreOctreeRamContainer_3C_20PointT_20_3E_map" name="pcl::outofcore::OutofcoreOctreeRamContainer_3C_20PointT_20_3E_map">
<area href="classpcl_1_1outofcore_1_1_outofcore_abstract_node_container.html" alt="pcl::outofcore::OutofcoreAbstractNodeContainer&lt; PointT &gt;" shape="rect" coords="0,0,343,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a89a0a77410aa3e95637d90d96a529dda"><td class="memItemLeft" align="right" valign="top"><a id="a89a0a77410aa3e95637d90d96a529dda"></a>
typedef <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_abstract_node_container.html">OutofcoreAbstractNodeContainer</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::AlignedPointTVector&#160;</td><td class="memItemRight" valign="bottom"><b>AlignedPointTVector</b></td></tr>
<tr class="separator:a89a0a77410aa3e95637d90d96a529dda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container')"><img src="closed.png" alt="-"/>&#160;Public 类型 继承自 <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_abstract_node_container.html">pcl::outofcore::OutofcoreAbstractNodeContainer&lt; PointT &gt;</a></td></tr>
<tr class="memitem:a09c4de5368f357c103f5f12665ee02b9 inherit pub_types_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td class="memItemLeft" align="right" valign="top"><a id="a09c4de5368f357c103f5f12665ee02b9"></a>
typedef std::vector&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a>, Eigen::aligned_allocator&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>AlignedPointTVector</b></td></tr>
<tr class="separator:a09c4de5368f357c103f5f12665ee02b9 inherit pub_types_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a0b0278fa2be8ddb0d1308e02ec015630"><td class="memItemLeft" align="right" valign="top"><a id="a0b0278fa2be8ddb0d1308e02ec015630"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#a0b0278fa2be8ddb0d1308e02ec015630">OutofcoreOctreeRamContainer</a> (const boost::filesystem::path &amp;)</td></tr>
<tr class="memdesc:a0b0278fa2be8ddb0d1308e02ec015630"><td class="mdescLeft">&#160;</td><td class="mdescRight">empty contructor (with a path parameter?) <br /></td></tr>
<tr class="separator:a0b0278fa2be8ddb0d1308e02ec015630"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab2adb091a8b913875db472a1a52b883"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#aab2adb091a8b913875db472a1a52b883">insertRange</a> (const <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> *start, const uint64_t count)</td></tr>
<tr class="memdesc:aab2adb091a8b913875db472a1a52b883"><td class="mdescLeft">&#160;</td><td class="mdescRight">inserts count number of points into container; uses the container_ type's insert function  <a href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#aab2adb091a8b913875db472a1a52b883">更多...</a><br /></td></tr>
<tr class="separator:aab2adb091a8b913875db472a1a52b883"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a743042ad90f45585fad4ae19fc0c945b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#a743042ad90f45585fad4ae19fc0c945b">insertRange</a> (const <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> *const *start, const uint64_t count)</td></tr>
<tr class="memdesc:a743042ad90f45585fad4ae19fc0c945b"><td class="mdescLeft">&#160;</td><td class="mdescRight">inserts count points into container  <a href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#a743042ad90f45585fad4ae19fc0c945b">更多...</a><br /></td></tr>
<tr class="separator:a743042ad90f45585fad4ae19fc0c945b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1412aa81d861a66c8a5fbcf3d6439ab2"><td class="memItemLeft" align="right" valign="top"><a id="a1412aa81d861a66c8a5fbcf3d6439ab2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>insertRange</b> (AlignedPointTVector &amp;)</td></tr>
<tr class="separator:a1412aa81d861a66c8a5fbcf3d6439ab2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cf0b474362535de770485129453a870"><td class="memItemLeft" align="right" valign="top"><a id="a5cf0b474362535de770485129453a870"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>insertRange</b> (const AlignedPointTVector &amp;)</td></tr>
<tr class="separator:a5cf0b474362535de770485129453a870"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cf386f6e0d58cf29857852b10c83118"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#a8cf386f6e0d58cf29857852b10c83118">readRange</a> (const uint64_t start, const uint64_t count, AlignedPointTVector &amp;v)</td></tr>
<tr class="separator:a8cf386f6e0d58cf29857852b10c83118"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b6d740f11f216233ac8087d506a5459"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#a7b6d740f11f216233ac8087d506a5459">readRangeSubSample</a> (const uint64_t start, const uint64_t count, const double percent, AlignedPointTVector &amp;v)</td></tr>
<tr class="memdesc:a7b6d740f11f216233ac8087d506a5459"><td class="mdescLeft">&#160;</td><td class="mdescRight">grab percent*count random points. points are NOT guaranteed to be unique (could have multiple identical points!)  <a href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#a7b6d740f11f216233ac8087d506a5459">更多...</a><br /></td></tr>
<tr class="separator:a7b6d740f11f216233ac8087d506a5459"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fd49c85cd66bbb7541cd15129074766"><td class="memItemLeft" align="right" valign="top"><a id="a2fd49c85cd66bbb7541cd15129074766"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#a2fd49c85cd66bbb7541cd15129074766">size</a> () const</td></tr>
<tr class="memdesc:a2fd49c85cd66bbb7541cd15129074766"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the size of the vector of points stored in this class <br /></td></tr>
<tr class="separator:a2fd49c85cd66bbb7541cd15129074766"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84f360012c75930694ac1a7f1dbf01c5"><td class="memItemLeft" align="right" valign="top"><a id="a84f360012c75930694ac1a7f1dbf01c5"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>empty</b> () const</td></tr>
<tr class="separator:a84f360012c75930694ac1a7f1dbf01c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada889ff2403f3e5079e122d0e6f76750"><td class="memItemLeft" align="right" valign="top"><a id="ada889ff2403f3e5079e122d0e6f76750"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#ada889ff2403f3e5079e122d0e6f76750">clear</a> ()</td></tr>
<tr class="memdesc:ada889ff2403f3e5079e122d0e6f76750"><td class="mdescLeft">&#160;</td><td class="mdescRight">clears the vector of points in this class <br /></td></tr>
<tr class="separator:ada889ff2403f3e5079e122d0e6f76750"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a403830c4923518c7e12fcf14743be5e5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#a403830c4923518c7e12fcf14743be5e5">convertToXYZ</a> (const boost::filesystem::path &amp;path)</td></tr>
<tr class="memdesc:a403830c4923518c7e12fcf14743be5e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes ascii x,y,z point data to path.string().c_str()  <a href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#a403830c4923518c7e12fcf14743be5e5">更多...</a><br /></td></tr>
<tr class="separator:a403830c4923518c7e12fcf14743be5e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fe54c570a62a3275fc7cfdc4f621908"><td class="memItemLeft" align="right" valign="top"><a id="a7fe54c570a62a3275fc7cfdc4f621908"></a>
<a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (uint64_t index) const</td></tr>
<tr class="separator:a7fe54c570a62a3275fc7cfdc4f621908"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_abstract_node_container.html">pcl::outofcore::OutofcoreAbstractNodeContainer&lt; PointT &gt;</a></td></tr>
<tr class="memitem:aa984358428a47469cd695d1895bfb6c4 inherit pub_methods_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td class="memItemLeft" align="right" valign="top"><a id="aa984358428a47469cd695d1895bfb6c4"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>OutofcoreAbstractNodeContainer</b> (const boost::filesystem::path &amp;)</td></tr>
<tr class="separator:aa984358428a47469cd695d1895bfb6c4 inherit pub_methods_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80496f334b64c325154a895318362da7 inherit pub_methods_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td class="memItemLeft" align="right" valign="top"><a id="a80496f334b64c325154a895318362da7"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>readRange</b> (const uint64_t start, const uint64_t count, AlignedPointTVector &amp;v)=0</td></tr>
<tr class="separator:a80496f334b64c325154a895318362da7 inherit pub_methods_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f480a07adcffd9e02d8089ee2421806 inherit pub_methods_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td class="memItemLeft" align="right" valign="top"><a id="a3f480a07adcffd9e02d8089ee2421806"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>readRangeSubSample</b> (const uint64_t start, const uint64_t count, const double percent, AlignedPointTVector &amp;v)=0</td></tr>
<tr class="separator:a3f480a07adcffd9e02d8089ee2421806 inherit pub_methods_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a06b2a9f1595c55a7900a41e5998f1eae"><td class="memItemLeft" align="right" valign="top"><a id="a06b2a9f1595c55a7900a41e5998f1eae"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>OutofcoreOctreeRamContainer</b> (const <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html">OutofcoreOctreeRamContainer</a> &amp;)</td></tr>
<tr class="separator:a06b2a9f1595c55a7900a41e5998f1eae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f29f73d1db125d57ee9e6f8534f7591"><td class="memItemLeft" align="right" valign="top"><a id="a9f29f73d1db125d57ee9e6f8534f7591"></a>
<a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html">OutofcoreOctreeRamContainer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html">OutofcoreOctreeRamContainer</a> &amp;)</td></tr>
<tr class="separator:a9f29f73d1db125d57ee9e6f8534f7591"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_abstract_node_container.html">pcl::outofcore::OutofcoreAbstractNodeContainer&lt; PointT &gt;</a></td></tr>
<tr class="memitem:a73afd29673269e52641c5a8dee3c7274 inherit pro_methods_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td class="memItemLeft" align="right" valign="top"><a id="a73afd29673269e52641c5a8dee3c7274"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>OutofcoreAbstractNodeContainer</b> (const <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_abstract_node_container.html">OutofcoreAbstractNodeContainer</a> &amp;rval)</td></tr>
<tr class="separator:a73afd29673269e52641c5a8dee3c7274 inherit pro_methods_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a3986cedaa50b81bd1cb0f1119be64142"><td class="memItemLeft" align="right" valign="top"><a id="a3986cedaa50b81bd1cb0f1119be64142"></a>
AlignedPointTVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#a3986cedaa50b81bd1cb0f1119be64142">container_</a></td></tr>
<tr class="memdesc:a3986cedaa50b81bd1cb0f1119be64142"><td class="mdescLeft">&#160;</td><td class="mdescRight">linear container to hold the points <br /></td></tr>
<tr class="separator:a3986cedaa50b81bd1cb0f1119be64142"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_abstract_node_container.html">pcl::outofcore::OutofcoreAbstractNodeContainer&lt; PointT &gt;</a></td></tr>
<tr class="memitem:a7f9449db321a9bb5770bca5bc993234e inherit pro_attribs_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td class="memItemLeft" align="right" valign="top"><a id="a7f9449db321a9bb5770bca5bc993234e"></a>
AlignedPointTVector&#160;</td><td class="memItemRight" valign="bottom"><b>container_</b></td></tr>
<tr class="separator:a7f9449db321a9bb5770bca5bc993234e inherit pro_attribs_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
静态 Protected 属性</h2></td></tr>
<tr class="memitem:aa7d94afa1ccca5a260564b803aa31e51"><td class="memItemLeft" align="right" valign="top"><a id="aa7d94afa1ccca5a260564b803aa31e51"></a>
static boost::mutex&#160;</td><td class="memItemRight" valign="bottom"><b>rng_mutex_</b></td></tr>
<tr class="separator:aa7d94afa1ccca5a260564b803aa31e51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f3b948bcc53da02589028dcbf33047a"><td class="memItemLeft" align="right" valign="top"><a id="a3f3b948bcc53da02589028dcbf33047a"></a>
static boost::mt19937&#160;</td><td class="memItemRight" valign="bottom"><b>rand_gen_</b></td></tr>
<tr class="separator:a3f3b948bcc53da02589028dcbf33047a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_attribs_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td colspan="2" onclick="javascript:toggleInherit('pro_static_attribs_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container')"><img src="closed.png" alt="-"/>&#160;静态 Protected 属性 继承自 <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_abstract_node_container.html">pcl::outofcore::OutofcoreAbstractNodeContainer&lt; PointT &gt;</a></td></tr>
<tr class="memitem:ae9e882a7c9599ae87412660aa5153a1f inherit pro_static_attribs_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td class="memItemLeft" align="right" valign="top"><a id="ae9e882a7c9599ae87412660aa5153a1f"></a>
static boost::mutex&#160;</td><td class="memItemRight" valign="bottom"><b>rng_mutex_</b></td></tr>
<tr class="separator:ae9e882a7c9599ae87412660aa5153a1f inherit pro_static_attribs_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c4ef9899b85a43070b2951a32862808 inherit pro_static_attribs_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td class="memItemLeft" align="right" valign="top"><a id="a3c4ef9899b85a43070b2951a32862808"></a>
static boost::mt19937&#160;</td><td class="memItemRight" valign="bottom"><b>rand_gen_</b></td></tr>
<tr class="separator:a3c4ef9899b85a43070b2951a32862808 inherit pro_static_attribs_classpcl_1_1outofcore_1_1_outofcore_abstract_node_container"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><h3>template&lt;typename PointT&gt;<br />
class pcl::outofcore::OutofcoreOctreeRamContainer&lt; PointT &gt;</h3>

<p>Storage container class which the outofcore octree base is templated against </p>
<dl class="section note"><dt>注解</dt><dd>Code was adapted from the Urban Robotics out of core octree implementation. Contact Jacob Schloss <a href="#" onclick="location.href='mai'+'lto:'+'jac'+'ob'+'.sc'+'hl'+'oss'+'@u'+'rba'+'nr'+'obo'+'ti'+'cs.'+'ne'+'t'; return false;">jacob<span style="display: none;">.nosp@m.</span>.sch<span style="display: none;">.nosp@m.</span>loss@<span style="display: none;">.nosp@m.</span>urba<span style="display: none;">.nosp@m.</span>nrobo<span style="display: none;">.nosp@m.</span>tics<span style="display: none;">.nosp@m.</span>.net</a> with any questions. <a href="http://www.urbanrobotics.net/">http://www.urbanrobotics.net/</a></dd></dl>
<dl class="section author"><dt>作者</dt><dd>Jacob Schloss (<a href="#" onclick="location.href='mai'+'lto:'+'jac'+'ob'+'.sc'+'lo'+'ss@'+'ur'+'ban'+'ro'+'bot'+'ic'+'s.n'+'et'; return false;">jacob<span style="display: none;">.nosp@m.</span>.scl<span style="display: none;">.nosp@m.</span>oss@u<span style="display: none;">.nosp@m.</span>rban<span style="display: none;">.nosp@m.</span>robot<span style="display: none;">.nosp@m.</span>ics.<span style="display: none;">.nosp@m.</span>net</a>) </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a403830c4923518c7e12fcf14743be5e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a403830c4923518c7e12fcf14743be5e5">&#9670;&nbsp;</a></span>convertToXYZ()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html">pcl::outofcore::OutofcoreOctreeRamContainer</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::convertToXYZ </td>
          <td>(</td>
          <td class="paramtype">const boost::filesystem::path &amp;&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Writes ascii x,y,z point data to path.string().c_str() </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>The path/filename destination of the ascii xyz data </td></tr>
  </table>
  </dd>
</dl>

<p>实现了 <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_abstract_node_container.html">pcl::outofcore::OutofcoreAbstractNodeContainer&lt; PointT &gt;</a>.</p>
<div class="fragment"><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    {</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;      <span class="keywordflow">if</span> (!<a class="code" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#a3986cedaa50b81bd1cb0f1119be64142">container_</a>.empty ())</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;      {</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        FILE* fxyz = fopen (path.string ().c_str (), <span class="stringliteral">&quot;w&quot;</span>);</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        boost::uint64_t num = <a class="code" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#a2fd49c85cd66bbb7541cd15129074766">size</a> ();</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        <span class="keywordflow">for</span> (boost::uint64_t i = 0; i &lt; num; i++)</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        {</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;          <span class="keyword">const</span> <a class="code" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a>&amp; p = <a class="code" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#a3986cedaa50b81bd1cb0f1119be64142">container_</a>[i];</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;          std::stringstream ss;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;          ss &lt;&lt; std::fixed;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;          ss.precision (16);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;          ss &lt;&lt; p.x &lt;&lt; <span class="stringliteral">&quot;\t&quot;</span> &lt;&lt; p.y &lt;&lt; <span class="stringliteral">&quot;\t&quot;</span> &lt;&lt; p.z &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;          fwrite (ss.str ().c_str (), 1, ss.str ().size (), fxyz);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        }</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        assert ( fclose (fxyz) == 0 );</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;      }</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    }</div>
<div class="ttc" id="aclasspcl_1_1outofcore_1_1_outofcore_octree_ram_container_html_a2fd49c85cd66bbb7541cd15129074766"><div class="ttname"><a href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#a2fd49c85cd66bbb7541cd15129074766">pcl::outofcore::OutofcoreOctreeRamContainer::size</a></div><div class="ttdeci">uint64_t size() const</div><div class="ttdoc">returns the size of the vector of points stored in this class</div><div class="ttdef"><b>Definition:</b> octree_ram_container.h:121</div></div>
<div class="ttc" id="aclasspcl_1_1outofcore_1_1_outofcore_octree_ram_container_html_a3986cedaa50b81bd1cb0f1119be64142"><div class="ttname"><a href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#a3986cedaa50b81bd1cb0f1119be64142">pcl::outofcore::OutofcoreOctreeRamContainer::container_</a></div><div class="ttdeci">AlignedPointTVector container_</div><div class="ttdoc">linear container to hold the points</div><div class="ttdef"><b>Definition:</b> octree_ram_container.h:166</div></div>
<div class="ttc" id="astructpcl_1_1_point_x_y_z_r_g_b_a_html"><div class="ttname"><a href="structpcl_1_1_point_x_y_z_r_g_b_a.html">pcl::PointXYZRGBA</a></div><div class="ttdoc">A point structure representing Euclidean xyz coordinates, and the RGBA color.</div><div class="ttdef"><b>Definition:</b> point_types.hpp:540</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a743042ad90f45585fad4ae19fc0c945b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a743042ad90f45585fad4ae19fc0c945b">&#9670;&nbsp;</a></span>insertRange() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html">pcl::outofcore::OutofcoreOctreeRamContainer</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::insertRange </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> *const *&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint64_t&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>inserts count points into container </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">start</td><td>- address of first point in array </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">count</td><td>- the maximum offset from start of points inserted </td></tr>
  </table>
  </dd>
</dl>

<p>实现了 <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_abstract_node_container.html">pcl::outofcore::OutofcoreAbstractNodeContainer&lt; PointT &gt;</a>.</p>

</div>
</div>
<a id="aab2adb091a8b913875db472a1a52b883"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab2adb091a8b913875db472a1a52b883">&#9670;&nbsp;</a></span>insertRange() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html">pcl::outofcore::OutofcoreOctreeRamContainer</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::insertRange </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> *&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint64_t&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>inserts count number of points into container; uses the container_ type's insert function </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">start</td><td>- address of first point in array </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">count</td><td>- the maximum offset from start of points inserted </td></tr>
  </table>
  </dd>
</dl>

<p>实现了 <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_abstract_node_container.html">pcl::outofcore::OutofcoreAbstractNodeContainer&lt; PointT &gt;</a>.</p>

</div>
</div>
<a id="a8cf386f6e0d58cf29857852b10c83118"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8cf386f6e0d58cf29857852b10c83118">&#9670;&nbsp;</a></span>readRange()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html">pcl::outofcore::OutofcoreOctreeRamContainer</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::readRange </td>
          <td>(</td>
          <td class="paramtype">const uint64_t&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint64_t&#160;</td>
          <td class="paramname"><em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">AlignedPointTVector &amp;&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">start</td><td>Index of first point to return from container </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">count</td><td>Offset (start + count) of the last point to return from container </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">v</td><td>Array of points read from the input range </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    {</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;      v.resize (count);</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;      memcpy (v.data (), <a class="code" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#a3986cedaa50b81bd1cb0f1119be64142">container_</a>.data () + start, count * <span class="keyword">sizeof</span>(<a class="code" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a>));</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a7b6d740f11f216233ac8087d506a5459"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b6d740f11f216233ac8087d506a5459">&#9670;&nbsp;</a></span>readRangeSubSample()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html">pcl::outofcore::OutofcoreOctreeRamContainer</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::readRangeSubSample </td>
          <td>(</td>
          <td class="paramtype">const uint64_t&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint64_t&#160;</td>
          <td class="paramname"><em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>percent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">AlignedPointTVector &amp;&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>grab percent*count random points. points are NOT guaranteed to be unique (could have multiple identical points!) </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">start</td><td>Index of first point in range to subsample </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">count</td><td>Offset (start+count) of last point in range to subsample </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">percent</td><td>Percentage of range to return </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">v</td><td>Vector with percent*count uniformly random sampled points from given input rangerange </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    {</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;      boost::uint64_t samplesize = <span class="keyword">static_cast&lt;</span>boost::uint64_t<span class="keyword">&gt;</span> (percent * <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span> (count));</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160; </div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;      boost::mutex::scoped_lock lock (rng_mutex_);</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160; </div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;      boost::uniform_int &lt; boost::uint64_t &gt; buffdist (start, start + count);</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;      boost::variate_generator&lt;boost::mt19937&amp;, boost::uniform_int&lt;boost::uint64_t&gt; &gt; buffdie (rand_gen_, buffdist);</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160; </div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;      <span class="keywordflow">for</span> (boost::uint64_t i = 0; i &lt; samplesize; i++)</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;      {</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        boost::uint64_t buffstart = buffdie ();</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        v.push_back (<a class="code" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html#a3986cedaa50b81bd1cb0f1119be64142">container_</a>[buffstart]);</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;      }</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>outofcore/include/pcl/outofcore/<a class="el" href="octree__ram__container_8h_source.html">octree_ram_container.h</a></li>
<li>outofcore/include/pcl/outofcore/impl/<a class="el" href="octree__ram__container_8hpp_source.html">octree_ram_container.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>outofcore</b></li><li class="navelem"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_ram_container.html">OutofcoreOctreeRamContainer</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
